<template>
	<view class="header-filler" :style="{'paddingTop': barHeight + 'px'}"></view>
</template>

<script>
	export default {
    props: {
      statusBarHeight: Number
    },
		data() {
			return {
				barHeight: 0,
		    headerstyle: ''
			};
		},
		mounted() {
      uni.getSystemInfo({
        success: (res) => {
          this.barHeight = res.statusBarHeight
        }
      })
		}
	}
</script>

<style lang="scss">
.header-filler {
  display: block;
  width: 100%;
  height: 44px;
  box-sizing: content-box;
}
</style>
